#define ONFRONTCONNECTED 1
#define ONFRONTDISCONNECTED 2
#define ONHEARTBEATWARNING 3
#define ONPACKAGESTART 4
#define ONPACKAGEEND 5
#define ONRSPERROR 6
#define ONRSPUSERLOGIN 7
#define ONRSPUSERLOGOUT 8
#define ONRSPUSERPASSWORDUPDATE 9
#define ONRSPORDERINSERT 10
#define ONRSPORDERACTION 11
#define ONRSPFROMBANKTOFUTUREBYFUTURE 12
#define ONRSPFROMFUTURETOBANKBYFUTURE 13
#define ONRTNFLOWMESSAGECANCEL 14
#define ONRTNTRADE 15
#define ONRTNORDER 16
#define ONERRRTNORDERINSERT 17
#define ONERRRTNORDERACTION 18
#define ONRTNINSTRUMENTSTATUS 19
#define ONRTNINVESTORACCOUNTDEPOSIT 20
#define ONRTNMESSAGENOTIFY 21
#define ONERRRTNQUERYBANKBALANCEBYFUTURE 22
#define ONERRRTNBANKTOFUTUREBYFUTURE 23
#define ONERRRTNFUTURETOBANKBYFUTURE 24
#define ONRTNQUERYBANKBALANCEBYFUTURE 25
#define ONRTNFROMBANKTOFUTUREBYFUTURE 26
#define ONRTNFROMFUTURETOBANKBYFUTURE 27
#define ONRTNSGEDEFERRATE 28
#define ONRSPQRYORDER 29
#define ONRSPQRYTRADE 30
#define ONRSPQRYUSERINVESTOR 31
#define ONRSPQRYINVESTORACCOUNT 32
#define ONRSPQRYINSTRUMENT 33
#define ONRSPQRYEXCHANGE 34
#define ONRSPQRYINVESTORPOSITION 35
#define ONRSPSUBSCRIBETOPIC 36
#define ONRSPQRYTOPIC 37
#define ONRSPQRYINVESTORFEE 38
#define ONRSPQRYINVESTORMARGIN 39
#define ONRSPQRYEXCHANGEDIFFTIME 40
#define ONRSPQRYCONTRACTBANK 41
#define ONRSPQUERYBANKACCOUNTMONEYBYFUTURE 42
#define ONRSPQRYTRANSFERSERIAL 43
#define ONRSPQRYSGEDEFERRATE 44
#define ONRSPQRYMARKETDATA 45
